package com.ruoyi.project.system.plan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 方案管理对象 my_plan
 * 
 * @author cc
 * @date 2024-08-17
 */
public class MyPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 方案id */
    private Long id;

    /** 方案名称 */
    @Excel(name = "方案名称")
    private String name;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 设备详情id */
    @Excel(name = "设备详情id")
    private Long deviceDetailsId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }

    public void setDeviceDetailsId(Long deviceDetailsId) 
    {
        this.deviceDetailsId = deviceDetailsId;
    }

    public Long getDeviceDetailsId() 
    {
        return deviceDetailsId;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("deviceId", getDeviceId())
            .append("deviceDetailsId", getDeviceDetailsId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
